import withIconColor from './withIconColor';
import { TIconProps } from '@/types';

const AddIcon = (props: TIconProps) => {
   return (
      <svg
         viewBox="0 0 1024 1024"
         version="1.1"
         xmlns="http://www.w3.org/2000/svg"
         p-id="8087"
         width={props.size}
         height={props.size}
      >
         <path
            d="M804.571429 73.142857a146.285714 146.285714 0 0 1 146.285714 146.285714v585.142858a146.285714 146.285714 0 0 1-146.285714 146.285714H219.428571a146.285714 146.285714 0 0 1-146.285714-146.285714V219.428571a146.285714 146.285714 0 0 1 146.285714-146.285714h585.142858z m-292.571429 219.428572a36.571429 36.571429 0 0 0-36.571429 36.571428v146.285714H329.142857a36.571429 36.571429 0 0 0 0 73.142858h146.285714v146.285714a36.571429 36.571429 0 0 0 73.142858 0v-146.285714h146.285714a36.571429 36.571429 0 0 0 0-73.142858h-146.285714V329.142857a36.571429 36.571429 0 0 0-36.571429-36.571428z"
            fill={props.color}
            p-id="8088"
         ></path>
      </svg>
   );
};

export default withIconColor(AddIcon);
